<?php
class Giaovien extends AppModel {

	var $name = 'Giaovien';

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Donvi' => array(
			'className' => 'Donvi',
			'foreignKey' => 'donvi_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

	var $hasOne = array(
		'Diemdanh' => array(
			'className' => 'Diemdanh',
			'foreignKey' => 'giaovien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Huongdan' => array(
			'className' => 'Huongdan',
			'foreignKey' => 'giaovien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Lapnhom' => array(
			'className' => 'Lapnhom',
			'foreignKey' => 'giaovien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Tieuchi' => array(
			'className' => 'Tieuchi',
			'foreignKey' => 'giaovien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

	var $hasMany = array(
		'Diemdanh' => array(
			'className' => 'Diemdanh',
			'foreignKey' => 'giaovien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'Huongdan' => array(
			'className' => 'Huongdan',
			'foreignKey' => 'giaovien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'Lapnhom' => array(
			'className' => 'Lapnhom',
			'foreignKey' => 'giaovien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'Tieuchi' => array(
			'className' => 'Tieuchi',
			'foreignKey' => 'giaovien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);

}
?>